import { http } from '@/utils/request'
import type { CategoryTopItem } from '@/types/category'

// 分类列表-小程序
export const getCategoryTopAPI = () => {
    return http<CategoryTopItem[]>({
        url: '/category/top',
        method: 'GET'
    })
}